import { request } from '@/utils/request.js'

export const getToken = () => {
	return request({
		method: 'GET',
		url: '/token/get-token'
	})
}


export const chat = (data) => {
	return request({
		method: 'POST',
		url: '/chat/custom-chat',
		data,
	})
}